﻿using System;
using System.Collections.Generic;
using System.Text;

namespace hyjx.comm.Interfaces
{
    /// <summary>
    /// PLC 接口
    /// </summary>
    public interface IPlcProtocol : IDisposable
    {
        /// <summary>
        /// 已连接
        /// </summary>
        bool IsConnected { get; }
        /// <summary>
        /// IP 地址
        /// </summary>
        string Ip { get; }
        /// <summary>
        /// 连接
        /// </summary>
        void Connect();
        /// <summary>
        /// 断开连接
        /// </summary>
        void Disconnect();



    }
}
